<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?= \yii\helpers\Html::encode($this->title)?></title>
    <meta name="keywords" content="<?=$this->params['keywords']?>" />
    <meta name="description" content="<?=$this->params['description']?>" />
    <link rel="shortcut icon" href="/favicon.ico" />
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <link href="/css/bootstrap-theme.min.css" rel="stylesheet">
    <meta name="baidu-site-verification" content="2jzkzOUgrL" />
    <link href="/css/list.css" rel="stylesheet">
    <!--[if lt IE 9]> <script src='/js/html5shiv.min.js'></script>
    <script src='/js/respond.min.js'></script><![endif]-->
    <script src="/js/jquery.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/bootstrap-hover-dropdown.js"></script>
</head>
<?php $this->beginBody() ?>
<!--<script src="/js/ping.js"></script>-->
<!--手机版分类-->
<nav class="navbar navbar-default navbar-fixed-top top-bar">
    <div class="container-fluid">
        <div class="navbar-header">
            <a href="/">
                <img class="hidden-xs" alt="华文轩小说网" src="/img/logo.png">
                <img class="visible-xs-inline" alt="华文轩小说网" src="/img/logo.png">
            </a>
            <div class="btn-group pull-right visible-xs-inline trigger-overlay" role="group">
                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                    <span class="glyphicon glyphicon-th"></span> 小说分类 <span class="caret"></span>
                </button>
            </div>
        </div>
        <!--//手机版分类-->

        <div id="navbar" class="collapse navbar-collapse">
            <div class="navbar-form navbar-left fullsearch-form">
                <div class="input-group">
                    <form target="_blank" name="formsearch" action="/novel/search">
                        <input name="keyword"  type="text" class="form-control" id="keyword" placeholder="请输入小说名称..">
                        <span class="input-group-btn btn-head">
                            <button class="btn btn-default" type="submit">搜索</button>
                        </span>
                    </form>
                </div>
            </div>
            <ul class="nav navbar-nav">
                <?php if($this->context->menu){foreach ($this->context->menu as $val){?>
                <li><a href="/novel/search?class_id=<?php echo $val['id'];?>"><?php echo $val['title'];?></a></li>
                <?php }}?>
            </ul>

            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" role="button" aria-expanded="false">
                        <span class="glyphicon glyphicon-th"></span>
                        <span class="hidden-md hidden-sm"> 网站导航 </span> <span class="caret"></span></a>
                    <ul class="dropdown-menu" role="menu">
                        <!--导航-->
                        <script src="/js/nav.js"></script>
                        <script src="/js/tongji.js"></script>
                        <!--//导航-->
                    </ul>
                </li>
            </ul>

        </div>
        <!--/.nav-collapse -->
    </div>
</nav>
<!--广告-->
<!--//广告-->
<?= $content ?>

<div class="clear"></div>
<!--广告-->
<!--//广告-->
<footer class="footer hidden-xs">
    <div class="container-fluid" style="text-align: center">
        <p>
            <a href="http://www.kumijie.com" rel="nofollow" target="_blank">域名出售</a> |
            <a href="http://www.dingtao.xyz" rel="nofollow" target="_blank">站长个人中心</a> |
            <a href="http://www.qulianku.com" rel="nofollow" target="_blank">趣链库</a> |
            <a href="http://www.fangdaishe.com" rel="nofollow" target="_blank">放贷社</a> |
            <a href="javascript:" onClick="window.open('/templets/call.html')" rel="nofollow">联系我们</a> |
            浙ICP18010242号 <br>Copyright &copy; 2018-2020 www.huawenxuan.com 华文轩小说网 版权所有
        </p>
    </div>
</footer>
<div class="visible-xs-block footer-bar-placeholder"></div>


<!--手机底部菜单 -->
<div class="overlay overlay-contentscale" style="overflow:auto;>
    <div class="row list">
        <div class="col-xs-12 text-center ptb20">
            <div class="input-group col-xs-offset-2 col-xs-7">
                <form target="_blank" name="formsearch" action="/novel/search">
                    <input name="keyword"  type="text" class="form-control" id="keyword" placeholder="请输入小说名称..">
                    <span class="input-group-btn btn-foot">
                        <button class="btn btn-default" type="submit">搜索</button>
                    </span>
                </form>
            </div>
        </div>
        <div class="list-foot">
            <?php if($this->context->menu){foreach ($this->context->menu as $val){?>
                <li class="col-xs-foot text-center"><a href="/novel/search?class_id=<?php echo $val['id'];?>"  rel="nofollow"><?php echo $val['title'];?></a></li>
            <?php }}?>
        </div>
        <div class="col-xs-12 text-center overlay-close">
            <i class="glyphicon glyphicon-remove"></i>
        </div>
    </div>
</div>
<script src="/js/nav.overlay.js"></script>
<script>
    function novelClick(id){
        var id = id;
        $.ajax({
            url: '/novel/click',
            type: 'post',
            dataType: 'json',
            data: {id:id},
            success: function (res) {
                return true;
            }
        });
    }
</script>
<!--//手机底部菜单 -->
<?php $this->endBody() ?>
</html>




